package zjhr.com.pojo;

import java.util.List;

public class ZjFactory {
    private String id;

    private String nameFull;//全名

    private String nameShort;//简称

    private String address;//地址

    private String phone;//电话

    private String leader;//管理者

    private String leaderPhone;//管理者电话
    
    private int count;
    //1对多
    private List<ZjUser> users;

    public List<ZjUser> getUsers() {
		return users;
	}

	public void setUsers(List<ZjUser> users) {
		this.users = users;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public ZjFactory() {
		super();
	}

	public ZjFactory(String id, String nameFull, String nameShort, String address, String phone, String leader,
			String leaderPhone) {
		super();
		this.id = id;
		this.nameFull = nameFull;
		this.nameShort = nameShort;
		this.address = address;
		this.phone = phone;
		this.leader = leader;
		this.leaderPhone = leaderPhone;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getNameFull() {
        return nameFull;
    }

    public void setNameFull(String nameFull) {
        this.nameFull = nameFull == null ? null : nameFull.trim();
    }

    public String getNameShort() {
        return nameShort;
    }

    public void setNameShort(String nameShort) {
        this.nameShort = nameShort == null ? null : nameShort.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader == null ? null : leader.trim();
    }

    public String getLeaderPhone() {
        return leaderPhone;
    }

    public void setLeaderPhone(String leaderPhone) {
        this.leaderPhone = leaderPhone == null ? null : leaderPhone.trim();
    }
}